<div id = "profile" class="col-main">
  <div class="main-wrap article">
  <div class = "title">
      <h2>基本资料</h2>
  </div>
  <div class = "undertitle">
    <form action="__ACTION__" method="post">
    <ul>
      <li class="item">
        <label for="avatar">头像</label>
        <a href="{:U('account/avatar')}">
          <img src="{:NoticeUrl::getPhoto($user['uid'])}" name="avatar" alt="修改头像" title="修改头像" />
        </a>
      </li>
      <li class="item">
        <label for="username">用户名</label>
        <span>{$user.username}</span>
        <input type="hidden" name="username" value="{$user.username}" id=""/>
      </li>
      <!--
      <li class="item">
        <label for="nickname">昵称（可以随意更改）</label>
        <input type="text" name="nickname" value="{$user.name}" id=""/>
      </li>
      -->
      <li class="item">
        <label for="signature">签名</label>
        <input type="text" name="signature" value="{$user.signature}" id=""/>
      </li>
      <li class="item">
        <label for="email">邮箱</label>
        <input type="text" name="email" value="{$user.email}" id=""/>
      </li>
      <li class="item">
        <label for="password">密码</label>
        <a href="{:U('account/password')}">修改密码</a>
      </li>
      <li>
        <label></label><input type="submit" name="submit" class="input" value="更改个人信息"/>
      </li>
    </ul>
    </form>
  </div>
</div>
</div>